A Model Context Protocol (MCP) stdio server that exposes Discourse forum capabilities as tools for AI agents. Works with all deployments of discourse.org, self hosted or cloud hosted. just generate an API key to connect.
Overview
What is Discourse Mcp Server?
Discourse Mcp Server is a Model Context Protocol (MCP) stdio server that exposes Discourse forum capabilities as tools for AI agents, compatible with all deployments of discourse.org, whether self-hosted or cloud-hosted.
How to use Discourse Mcp Server?
To use the Discourse Mcp Server, run the command npx -y @discourse/mcp@latest to start the server. You can connect to a Discourse site by using the discourse_select_site tool or tether the server to a specific site using the --site option.
Key features of Discourse Mcp Server?
- Exposes Discourse forum functionalities as tools for AI agents.
- Supports both read-only and write operations with appropriate authentication.
- Allows dynamic registration of remote tools.
- Provides a variety of built-in tools for interacting with Discourse forums.
Use cases of Discourse Mcp Server?
- Integrating Discourse forum capabilities into AI applications.
- Automating content creation and management on Discourse forums.
- Enhancing user interaction with Discourse forums through AI-driven tools.
FAQ from Discourse Mcp Server?
- Why is
create_postmissing? You're in read-only mode. Enable writes as described in the documentation. - Can I disable remote tool discovery? Yes, run with
--tools_mode=discourse_api_only. - Should I use Admin API Keys or User API Keys? Use User API Keys for personal use; Admin API Keys are for admin-level operations.
Server Config
{
"mcpServers": {
"discourse": {
"command": "npx",
"args": [
"-y",
"@discourse/mcp@latest"
],
"env": {}
}
}
}